package com.jiazhong.example.example.rocket.demo1.commons.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@TableName("`order`")
@Data
public class Order implements Serializable {
    @TableId
    private String id;

    private String bookId;
    private Double price;
    private Integer number;
    private String createTime;
    @TableField(value = "`status`")
    private Integer status; //'1:未支付 2:已支付 3:已发货'
}
